<template>
	<view class="diy-video" :style="{ padding: itemStyle.paddingTop + 'px 0' }">
		<!-- 视频组 -->
		<video class="video" :style="{ height: itemStyle.height + 'px' }" :src="params.videoUrl" :poster=" params.poster " :autoplay="params.autoplay == 1" controls></video>
	</view>
</template>

<script>
import Route from '@/utils/Route.js';
export default {
	props: {
		itemIndex: String,
		itemStyle: Object,
		params: Object
	},
	data() {
		return {};
	},
	methods: {}
};
</script>

<style>
/* 视频组 */

.diy-video .video {
	width: 100%;
	display: block;
}
</style>
